package com.jhgsys.internal.incentive.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jhgsys.internal.incentive.dto.IncentiveRewardMattersDto;
import com.jhgsys.internal.incentive.entity.IncentiveRewardMatters;
import com.jhgsys.internal.common.entity.QueryRequest;

import java.util.List;

/**
 * 奖励事项 Service接口
 *
 * @author Lujiachen
 * @date 2024-08-09 09:56:24
 */
public interface IIncentiveRewardMattersService extends IService<IncentiveRewardMatters> {
    /**
     * 查询（分页）
     * @author Lujiachen
     * @date 2024-08-09 09:56:24
     * @param request QueryRequest
     * @param incentiveRewardMatters incentiveRewardMatters
     * @return IPage<BaseProject>
     */
    IPage<IncentiveRewardMattersDto> findIncentiveRewardMatters(QueryRequest request, IncentiveRewardMatters incentiveRewardMatters);


    /**
    * 根据ID查询
    * @author Lujiachen
    * @date 2024-08-09 09:56:24
    * @param id
    * @return incentiveRewardMatters
    */
    IncentiveRewardMattersDto findIncentiveRewardMattersyId(String id);

    /**
     * 新增
     * @author Lujiachen
     * @date 2024-08-09 11:42:34
     * @param incentiveRewardMatters
     */
    void createIncentiveRewardMatters(IncentiveRewardMatters incentiveRewardMatters);
    /**
     * 修改
     * @author Lujiachen
     * @date 2024-08-09 15:11:20
     * @param incentiveRewardMatters
     */
    void updateBaseArea(IncentiveRewardMatters incentiveRewardMatters);
    /**
     * 修改
     * @author Lujiachen
     * @date 2024-08-09 15:49:34
     * @param rewardMattersId
     */
    void deleteIncentiveRewardMatters(IncentiveRewardMatters baseArea, String rewardMattersId);
}
